package com.chery.media.ui.setting.wlan

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.chery.media.R
import com.chery.media.library.wlan.Wifi

class WlanAdapter: BaseQuickAdapter<Wifi, BaseViewHolder>(R.layout.item_setting_wlan) {


    override fun convert(holder: BaseViewHolder, item: Wifi) {
        holder.apply {
            setText(R.id.wlanNameText, item.name())
        }
    }
}